I looked for a way to add a switch to Xcode compile instructions but couldn't find out if it could be done. Can it? How?
Where do I add this.
"-arch i386" ?
Instead of shooting the younger trespassers, you might want to consider selling them.
thanks
found it.
both i386 and x86_64 are there. My problem may lie else where.
Thanks
In another post, I talked about not being able to link my cfitsio (an external) lib in Xcode. NASA suggested the flags which it turns out are already there.
CC = gcc
CFLAGS = -Wall -g
IDIR = /cfitsio/include
LIBS = -lm
CFITSIOLIB = /cfitsio/lib/libcfitsio.a
OBJS = matrix.o
clean:
rm -f ${OBJS} ${EXECS}
EXECS = getline2
OBJS = getline2.o
getline2: getline2.c
${CC} -DMAIN ${CFLAGS} -I${IDIR} p1640.h getline2.c ${CFITSIOLIB} ${LIBS} -o getline2
all: ${EXECS} ${OBJS}
Do you mean OTHER_CODE_SIGN_FLAGS =
I was looking for CFlags but didn't find it.
Will try.
To be honest, I don't remember. I may have a few days ago. I find the Xcode documentation very difficult to find anything in. Sometimes its just easier to ask someone who knows.